package market

import (
	base "gxcvu-ai/app/controller/Base"
	"gxcvu-ai/app/model/market"
	"gxcvu-ai/pkg/response"

	"github.com/gin-gonic/gin"
)

type MarketController struct {
	base.BaseController
}

func (mkc *MarketController) GetAllMarket(c *gin.Context) {
	markets, _ := market.GetAll()
	response.JSON(c, markets)
}
